package org.jeecg.modules.param.member.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 月月鸟
 */
@Data
public class ChargeReturnRsp {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    //======================================
    /**用户id*/
    private java.lang.String userId;


    /**会员号*/
    @Excel(name = "会员号", width = 15)
    @ApiModelProperty(value = "会员号")
    private java.lang.String userCode;
    /**用户姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String userName;
    //======================================
    /**充值记录*/
    private java.lang.String chargeId;
    /**充值类型*/
    @Excel(name = "充值方式", width = 15,dicCode = "charge_type")
    @ApiModelProperty(value = "充值类型")
    private java.lang.String chargeType;
    /**充值金额*/
    @Excel(name = "充值金额", width = 15)
    @ApiModelProperty(value = "充值金额")
    private java.lang.String chargeAmount;
    /**充值时间*/
    @Excel(name = "充值时间", width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "充值时间")
    private java.util.Date chargeTime;
    //=====================================
    /**退款时间*/
    @Excel(name = "退款时间", width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "退款时间")
    private java.util.Date createTime;
    /**退款类型 2支付宝退款4现金退款 */
    @Excel(name = "退款时间", width = 15,dicCode = "charge_return_type")
    @ApiModelProperty(value = "退款类型")
    @Dict(dicCode = "charge_return_type")
    private java.lang.String returnType;
    /**退款金额*/
    @Excel(name = "退款金额", width = 15,format = "0.00")
    @ApiModelProperty(value = "退款金额")
    private java.math.BigDecimal returnAmount;
    /**退款后钱包余额*/
    @Excel(name = "钱包余额", width = 15,format = "0.00")
    @ApiModelProperty(value = "钱包余额")
    private java.math.BigDecimal balanceEnd;

    //=====================================
    /**映射支付宝用户*/
    @ApiModelProperty(value = "映射支付宝用户")
    private java.lang.String aliUserId;
    /**映射支付宝订单编码*/
    @ApiModelProperty(value = "映射支付宝订单编码")
    private java.lang.String aliOrderId;
    /**支付宝退款编码*/
    @ApiModelProperty(value = "支付宝退款编码")
    private java.lang.String aliRefundId;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
    /**备注(退款原因)*/
    @ApiModelProperty(value = "备注(退款原因)")
    private java.lang.String memo;

}
